package com.situ.boot.controller;

import java.io.IOException;
import java.text.SimpleDateFormat;
import java.util.Date;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.Cookie;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
 @RequestMapping("/index")
public class IndexController {

	@RequestMapping("/index")
	public String getIndexPage() {
//		 return "/WEB-INF/jsp/index.jsp";
		return "index";
	}

	@RequestMapping("/hello")
	public String hello() {
//		 return "/WEB-INF/jsp/index.jsp";
		return "hello";
	}




	@RequestMapping("/indexV1")
	public String getIndexV1Page() {
		// return "/WEB-INF/back/index_v1.jsp";
		return "index_v1";
	}



	
}
